
@interface State {
	#define S_TITLE 1
	#define S_PLAY 2
	#define S_TRANSITION 3
	#define S_GAMEOVER 4
	#define S_PAUSE 5
	#define S_RESUME 6
	#define S_CONTINUE 7
#define S_END 8 
#define S_MAP_TOWN 10 
#define S_MAP_DUNGEON 11 
#define S_MAP_WORLD 12  
#define S_MOVIE 13  
	
	#define S_EXIT -1 

	 #define G_START 11 
	 #define G_THREE 12 
	 #define G_TWEE 13 
	 #define G_ONE 14 
	 #define G_FIGHT 15 
	 #define G_DECIDE 16 
	 #define G_CELEBRATE 17 
	 #define G_FINISH 18 
	
	#define MENU_YINOCH 101 
	#define MENU_EDEN 102 
	#define MENU_ISZU 103 
	#define MENU_TITLE 104 
	#define MENU_RETRY 105 
	#define MENU_NEXT 106 

	#define R_WINNING 1 
	#define R_DRAWING 0 
	#define R_LOSING -1 
	#define R_UKNOWN -6 

	#define C_LAST 101 
	#define C_NEXT 102 
	#define C_LAST_PART 103 
	#define C_NEXT_PART 104 
	#define C_FINISH 105 
#define  T_LAYER_GEO		1
#define  T_LAYER_GROUND		2
#define  T_LAYER_BUILDING	3
#define  T_LAYER_ITEM		4
#define  T_LAYER_UNIT		5
#define  T_LAYER_ROOF		6
#define  T_LAYER_PORTAL     7
#define  T_FILL				8
#define  T_CLEAN			9
#define  T_SAVE				10
#define  T_LOAD				11
#define  T_NEW				12
#define  T_SIZE				13
#define  T_TILE				14
#define  T_PAN				15
#define  T_IMPORT			16
#define  T_EXPORT			17
#define  T_TEST				18
#define  T_RUN				19

}@end
